Skip to content

relay join hub and create service#407

Merged
genedna merged 2 commits into
gitmono-dev:mainfrom
wujian0327:main
May 31, 2024
Merged

relay join hub and create service#407
genedna merged 2 commits into
gitmono-dev:mainfrom
wujian0327:main

Conversation

@wujian0327

Copy link
Copy Markdown
Contributor

changelog:

  1. add new function to join a ztm mesh in ztm module
  2. add new function to create service in ztm module
  3. relay now can join mesh and create service by http request
  4. optimized some code

for example:

  1. change ztm config in config.toml
  2. cargo run --bin mega service relay --host 0.0.0.0
  3. GET http://127.0.0.1:8001/api/v1/certificate?name=relay to get permit json
  4. POST http://127.0.0.1:8001/api/v1/relay_init with permit json to join mesh and create service

like this
image
image

@vercel

vercel Bot commented May 31, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 31, 2024 3:57am

@genedna
genedna added this pull request to the merge queue May 31, 2024
Merged via the queue into gitmono-dev:main with commit ee12ae3 May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants